﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;

namespace PluginRunner
{
    class XtraMenuItem : ToolStripMenuItem
    {
        protected override void OnClick(EventArgs e)
        {
            MessageBox.Show((Clicker() ?? "Invoked").ToString());
        }

        public Func<object> Clicker { get; set; }

        //public override string ToString()
        //{
        //    return Text;
        //}
    }
}
